package mesweb.mesweb.entity.produce;


import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hszh.wms.mbg.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import mesweb.mesweb.enums.enumSchedulePeriodType;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 日报工
 * @Author: jeecg-boot
 * @Date:   2021-08-17
 * @Version: V1.0
 */
@Data
@TableName("Produce_Day_Report")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Produce_Day_Report对象", description="日报工")
public class ProduceDayReport extends BaseEntity {
    
	/**订单编号*/
    @ApiModelProperty(value = "订单编号")
	private String orderNo;
	/**产品编号*/

    @ApiModelProperty(value = "产品编号")
	private String productNo;
	/**产品名称*/

    @ApiModelProperty(value = "产品名称")
	private String productName;
	/**工序编号*/

    @ApiModelProperty(value = "工序编号")
	private String procedureNo;
	/**工序名称*/

    @ApiModelProperty(value = "工序名称")
	private String procedureName;
	/**批次*/

    @ApiModelProperty(value = "批次")
	private String batch;
	/**客户需求量*/

    @ApiModelProperty(value = "客户需求量")
	private Integer totalAmount;
	/**已生产数量*/

    @ApiModelProperty(value = "已生产数量")
	private Integer producedAmount;
	/**未生产数量*/

    @ApiModelProperty(value = "未生产数量")
	private Integer planAmount;
	/**最新报工时间*/

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最新报工时间")
	private Date lastReportDate;

	/**排产周期*/
	@ApiModelProperty(value = "排产周期")
	private String schedulePeriod;

	/**排产周期类型*/
	@ApiModelProperty(value = "自由时差")
	private enumSchedulePeriodType schedulePeriodType;

}
